<template>
  <div>
      <!-- ArtileList -->
      <ArtileItem v-for="obj in arr" :key="obj.art_id" :obj="obj"
      @firstaction="firstactionfn"
      @secondaction="secondactionfn"
      ></ArtileItem>
  </div>
</template>

<script>
import ArtileItem from '@/components/ArtileItem.vue'
export default {
  components: {
    ArtileItem
  },
  props: {
    arr: {
      type: Array
    }
  },
  methods: {
    //   不感兴趣
    firstactionfn (action, artId) {
      this.$emit('firstaction', action, artId)
    },
    // 反馈垃圾内容
    secondactionfn (secondactions, artId) {
      this.$emit('secondaction', secondactions, artId)
    }
  }
}
</script>

<style>

</style>
